<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
     <div class="container">
        <form action="${request.contextPath}/upload" method="post" enctype="multipart/form-data>
                <div align="center"><input type="text" name="filename" placeholder="文件名"><p>
            ${FieldErrors['filename']!""}
            </p></div>
                <div align="center"><input type="file" name="file"></div>
                <div align="center"><button type="submit">上传</button></div>
        </form>
     </div>
</body>
</html>